package com.woniu.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * <p>
 * 家庭成员关系表
 * </p>
 *
 * @author xiaotang
 * @since 2022-10-17
 */
@Getter
@Setter
@TableName("tb_family")
@ApiModel(value = "Family对象", description = "家庭成员关系表")
public class Family implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "id", type = IdType.AUTO)
      private Long id;

      @ApiModelProperty("用户id")
      private Integer userId;

      @ApiModelProperty("逻辑删除")
      private Integer isDeleted;

      @ApiModelProperty("家庭成员姓名")
      private String name;

      @ApiModelProperty("年龄")
      private String ago;

      @ApiModelProperty("关系")
      private String relation;

      @ApiModelProperty("性别（0：女， 1：男）")
      private String sex;
}
